/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: app2022 - Demo
 * <p>Powered by webrx On 2022-01-17 14:08:15
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Demo {
    public static void main(String[] args) {
        DbUtils<User> du = new DbUtils<>();
        User user = new User();
        user.setId(10);
        user.setName("李四");
        user.setAge(22);
        du.save(user);

        var du2 = new DbUtils<Book>();
        var book = new Book(11, "《java入门与实战》");
        du2.save(book);


    }
}
